<%= @code_name %>:
  ruby_version: <%= @ruby_version %>
  environment: <%= @environment %> # RAILS_ENV
  domains:
    <%- @domains.each do |domain| -%>
    <%- if domain.start_with?("*") -%>
    - "<%= domain %>"
    <%- else -%>
    - <%= domain %>
    <%- end -%>
    <%- end -%>
  servers:
    app1:
      size: <%= @size %>
      <%- if @thin -%>
      thin: <%= @thin %>
      <%- end -%>
      <%- if @puma -%>
      puma: <%= @puma %>
      <%- end -%>
      # delayed_job: 1
      # sidekiq: 1
      # clockwork: on
      # whenever: on
      # elasticsearch: on
      databases:
        <%- if @databases.present? -%>
        <%- @databases.each do |kind| -%>
        - <%= kind %>
        <%- end -%>
        <%- end -%>
        <%- (Shelly::App::DATABASE_KINDS - @databases).each do |kind| -%>
        # - <%= kind %>
        <%- end -%>
